package com.ndp.fb.rdb.model.customaudience;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.ColumnType;
import com.ndp.fb.rdb.annotation.Id;
import com.ndp.fb.rdb.annotation.Table;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by elvisxiong on 15/12/14.
 */
@Setter
@Getter
@NoArgsConstructor
@Table("custom_audience_template_fb_connection_object")
public class CustomAudienceTemplateAndConnectionObject implements Serializable {
    //编号
    @Id
    private Long id;
    //自定义受众模板编号 column:custom_audience_template_id
    private Long customAudienceTemplateId;

    //facebook应用编号
    @Column(value = "fb_connection_object_id", type = ColumnType.Long)
    private Long connectionObjectId;

}
